package xgenerator.generators.jgenerator;

import xgenerator.model.ModelMetadata;

/**
 * <p>
 * Title:ServiceGenerator
 * </p>
 * <p>
 * Description:
 * </p>
 * <p>
 * Copyright: Copyright (c) 2012
 * </p>
 * <p>
 * Company: liss
 * </p>
 * @author <a href="mailto:shushanlee@msn.com">liss</a>
 * @version 1.0
 * @see 
 * @since   1.0
 */
public interface ServiceGenerator {
	
	/*
	 * java文件后缀
	 */
//	public static String DEFAULT_SERVICE_SUFFER = "Service";
//	public static String DEFAULT_SERVICE_IMPL_SUFFER = "ServiceImpl";
	
	/*
	 * java代码目录名
	 */
	public static String SERVICE_DIR = "service";
	public static String SERVICE_IMPL_DIR = "impl";
	public static String MODEL_DIR = "model";
	
	public String generateServiceCode(ModelMetadata modelMetadata);
	public String generateServiceImplCode(ModelMetadata modelMetadata);
	public String generateModelCode(ModelMetadata modelMetadata);
}
